package com.btsk.model;
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "VehicleInfo")
public class VehicleInfo extends BaseObject implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "VehicleId")
	private Integer id;
	
	@Column(name = "VehicleNo")
	private String vehicleNo;
	
	@Column(name = "VehicleImgIndex")
	private Integer vehicleImgIndex;
	
	@Column(name = "VehicleOwer")
	private String vehicleOwer;
	
	@Column(name = "VehicleMaxSpeed")
	private Integer vehicleMaxSpeed;
	
	@Column(name = "VehicleRemark")
	private String vehicleRemark;
	
	@Column(name = "VehicleDriver")
	private String vehicleDriver;
	
	@Column(name = "VehicleTel")
	private String vehicleTel;
	
	@ManyToOne(cascade = {}, fetch = FetchType.EAGER)
	@JoinColumn(name = "VehicleDeviceID", unique = false, nullable = true, insertable = true, updatable = true)
	private DeviceInfo deviceInfo;
	
	@Column(name = "VehicleCompanyID")
	private Integer vehicleCompanyID;
	
	@Column(name = "VehicleFuelVolume")
	private Integer vehicleFuelVolume;
	
	@Column(name = "VehicleIsFuelOff")
	private Integer vehicleIsFuelOff;
	
	@Column(name = "VehicleIsFuelManage")
	private Integer vehicleIsFuelManage;
	
	@Column(name = "VehicleIsTemp")
	private Integer vehicleIsTemp;
	
	@Column(name = "VehicleIsCamera")
	private Integer vehicleIsCamera;
	
	@Column(name = "VehicleIsTurn")
	private Integer vehicleIsTurn;
	
	@Column(name = "VehicleIsDoor")
	private Integer vehicleIsDoor;
	
	@Column(name = "VehicleHundredFuel")
	private Integer vehicleHundredFuel;
	
	@Column(name = "VehiclePassword")
	private String vehiclePassword;
	
	@Column(name = "VehicleCaptainID")
	private Integer vehicleCaptainID;
	
	@Column(name = "VehicleMobile")
	private String vehicleMobile;
	
	
	@Column(name = "StartTime")
	private Date startTime;
	
	@Column(name = "EndTime")
	private Date endTime;
	
	@Column(name = "VehicleIsCircle")
	private Integer vehicleIsCircle;
	
	@Column(name = "VehicleIsAlarm")
	private Integer vehicleIsAlarm;
	
	@Column(name = "VehicleColor")
	private String vehicleColor;
	
	@Column(name = "VehicleDriveNo")
	private String vehicleDriveNo;
	
	@Column(name = "VehicleIsDB44")
	private Integer vehicleIsDB44;
	
	@Column(name = "VehicleTrafficID")
	private Integer vehicleTrafficID;
	
	@Column(name = "SheFang")
	private Integer sheFang;
	
	@Column(name = "VehicleIsAcc")
	private Integer vehicleIsAcc;
	
	@Column(name = "VehicleIsDisplay")
	private Integer vehicleIsDisplay;
	
	@Column(name = "VehicleType")
	private Integer vehicleType;
	
	public Integer getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(Integer vehicleType) {
		this.vehicleType = vehicleType;
	}

	public Integer getId(){
		return id;
	}

	public void setId(Integer id){
		this.id = id;
	}

	public String getVehicleNo(){
		return vehicleNo;
	}

	public void setVehicleNo(String vehicleNo){
		this.vehicleNo = vehicleNo;
	}

	public Integer getVehicleImgIndex(){
		return vehicleImgIndex;
	}

	public void setVehicleImgIndex(Integer vehicleImgIndex) {
		this.vehicleImgIndex = vehicleImgIndex;
	}

	public String getVehicleOwer() {
		return vehicleOwer;
	}

	public void setVehicleOwer(String vehicleOwer) {
		this.vehicleOwer = vehicleOwer;
	}

	public Integer getVehicleMaxSpeed() {
		return vehicleMaxSpeed;
	}

	public void setVehicleMaxSpeed(Integer vehicleMaxSpeed) {
		this.vehicleMaxSpeed = vehicleMaxSpeed;
	}

	public String getVehicleRemark() {
		return vehicleRemark;
	}

	public void setVehicleRemark(String vehicleRemark) {
		this.vehicleRemark = vehicleRemark;
	}

	public String getVehicleDriver() {
		return vehicleDriver;
	}

	public void setVehicleDriver(String vehicleDriver) {
		this.vehicleDriver = vehicleDriver;
	}

	public String getVehicleTel() {
		return vehicleTel;
	}

	public void setVehicleTel(String vehicleTel) {
		this.vehicleTel = vehicleTel;
	}


	public Integer getVehicleCompanyID() {
		return vehicleCompanyID;
	}

	public void setVehicleCompanyID(Integer vehicleCompanyID) {
		this.vehicleCompanyID = vehicleCompanyID;
	}

	public Integer getVehicleFuelVolume() {
		return vehicleFuelVolume;
	}

	public void setVehicleFuelVolume(Integer vehicleFuelVolume) {
		this.vehicleFuelVolume = vehicleFuelVolume;
	}

	public Integer getVehicleIsFuelOff() {
		return vehicleIsFuelOff;
	}

	public void setVehicleIsFuelOff(Integer vehicleIsFuelOff) {
		this.vehicleIsFuelOff = vehicleIsFuelOff;
	}

	public Integer getVehicleIsFuelManage() {
		return vehicleIsFuelManage;
	}

	public void setVehicleIsFuelManage(Integer vehicleIsFuelManage) {
		this.vehicleIsFuelManage = vehicleIsFuelManage;
	}

	public Integer getVehicleIsTemp() {
		return vehicleIsTemp;
	}

	public void setVehicleIsTemp(Integer vehicleIsTemp) {
		this.vehicleIsTemp = vehicleIsTemp;
	}

	public Integer getVehicleIsCamera() {
		return vehicleIsCamera;
	}

	public void setVehicleIsCamera(Integer vehicleIsCamera) {
		this.vehicleIsCamera = vehicleIsCamera;
	}

	public Integer getVehicleIsTurn() {
		return vehicleIsTurn;
	}

	public void setVehicleIsTurn(Integer vehicleIsTurn) {
		this.vehicleIsTurn = vehicleIsTurn;
	}

	public Integer getVehicleIsDoor() {
		return vehicleIsDoor;
	}

	public void setVehicleIsDoor(Integer vehicleIsDoor) {
		this.vehicleIsDoor = vehicleIsDoor;
	}

	public Integer getVehicleHundredFuel() {
		return vehicleHundredFuel;
	}

	public void setVehicleHundredFuel(Integer vehicleHundredFuel) {
		this.vehicleHundredFuel = vehicleHundredFuel;
	}

	public String getVehiclePassword() {
		return vehiclePassword;
	}

	public void setVehiclePassword(String vehiclePassword) {
		this.vehiclePassword = vehiclePassword;
	}

	public Integer getVehicleCaptainID() {
		return vehicleCaptainID;
	}

	public void setVehicleCaptainID(Integer vehicleCaptainID) {
		this.vehicleCaptainID = vehicleCaptainID;
	}

	public String getVehicleMobile() {
		return vehicleMobile;
	}

	public void setVehicleMobile(String vehicleMobile) {
		this.vehicleMobile = vehicleMobile;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getVehicleIsCircle() {
		return vehicleIsCircle;
	}

	public void setVehicleIsCircle(Integer vehicleIsCircle) {
		this.vehicleIsCircle = vehicleIsCircle;
	}

	public Integer getVehicleIsAlarm() {
		return vehicleIsAlarm;
	}

	public void setVehicleIsAlarm(Integer vehicleIsAlarm) {
		this.vehicleIsAlarm = vehicleIsAlarm;
	}

	public String getVehicleColor() {
		return vehicleColor;
	}

	public void setVehicleColor(String vehicleColor) {
		this.vehicleColor = vehicleColor;
	}

	public String getVehicleDriveNo() {
		return vehicleDriveNo;
	}

	public void setVehicleDriveNo(String vehicleDriveNo) {
		this.vehicleDriveNo = vehicleDriveNo;
	}

	public Integer getVehicleIsDB44() {
		return vehicleIsDB44;
	}

	public void setVehicleIsDB44(Integer vehicleIsDB44) {
		this.vehicleIsDB44 = vehicleIsDB44;
	}

	public Integer getVehicleTrafficID() {
		return vehicleTrafficID;
	}

	public void setVehicleTrafficID(Integer vehicleTrafficID) {
		this.vehicleTrafficID = vehicleTrafficID;
	}

	public Integer getSheFang() {
		return sheFang;
	}

	public void setSheFang(Integer sheFang) {
		this.sheFang = sheFang;
	}

	public Integer getVehicleIsAcc() {
		return vehicleIsAcc;
	}

	public void setVehicleIsAcc(Integer vehicleIsAcc) {
		this.vehicleIsAcc = vehicleIsAcc;
	}

	public Integer getVehicleIsDisplay() {
		return vehicleIsDisplay;
	}

	public void setVehicleIsDisplay(Integer vehicleIsDisplay) {
		this.vehicleIsDisplay = vehicleIsDisplay;
	}

	public DeviceInfo getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(DeviceInfo deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

}
